[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Procedure Init

    This procedure must be called before all other button procedures.

    The Total  variable  is  initialized  to  0.   You  may read how many
    buttons have been  created  (and  are  still  active)  in  Total, but
    never write to Total.

    Every button  is  allocated  a  number,  position  (on  the  screen),
    position (in linked list) and a key press.

    It is allocated some  number  which  should  be  used to identify the
    button.  It is also allocated a  position  number.   The problem with
    using linked list position  numbers  is  that if you delete the first
    button, button  position  2  becomes  position  1.   However,  if you
    use the allocated number,  when  a  button  is deleted, all the other
    buttons' numbers remain the same.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson